<template>
  <a-config-provider :locale="locale">
    <div id="app">
      <transition name="fade-transform" mode="out-in">
        <router-view/>
      </transition>
    </div>
  </a-config-provider>
</template>
<script>
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
import 'moment/locale/zh-cn'
export default {
  name: '',
  components: {},
  data () {
    return {
      locale: zhCN
    }
  },
  created () {},
  mounted () {},
  methods: {}
}
</script>
<style lang="less">
#app {
  width: 100%;
  height: 100%;
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  .fade-transform-leave-active,
  .fade-transform-enter-active {
    transition: all .5s;
  }
  .fade-transform-enter {
    opacity: 0;
  }
  .fade-transform-leave-to {
    opacity: 0;
  }
}
</style>
